Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix dependencyAnalysis plugin #2766

Merged

Conversation

jmartinesp
Copy link
Member

@jmartinesp jmartinesp commented Apr 29, 2024

Type of change

  • Feature
  • Bugfix
  • Technical
  • Other :

Content

  • Add the dependency analysis plugin to each compose or android library.
  • Add some extra checks.

Motivation and context

For some reason the plugin needs to be manually applied to all the libs, otherwise running ./gradlew buildHealth does nothing.

Also, I had to add it to the convention plugins instead of using the subprojects { ... } approach because of the :libraries:rustsdk and :libraries:textcomposer:lib modules, which aren't proper Java/Kotlin modules.

Tests

  • Running ./gradlew buildHealth should take a while now and produce a large .txt report.

Tested devices

  • Physical
  • Emulator
  • OS version(s):

Checklist

For some reason the plugin needs to be manually applied to all the libs, otherwise running `./gradlew buildHealth` does nothing.

Also, I had to add it to the convention plugins instead of using the `subprojects { ... }` approach because of the `:libraries:rustsdk` and `:libraries:textcomposer:lib` modules, which aren't proper Java/Kotlin modules.
@jmartinesp jmartinesp requested a review from a team as a code owner April 29, 2024 07:13
@jmartinesp jmartinesp requested review from bmarty and removed request for a team April 29, 2024 07:13
Copy link

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code

See analysis details on SonarCloud

Copy link
Contributor

📱 Scan the QR code below to install the build (arm64 only) for this PR.
QR code
If you can't scan the QR code you can install the build via this link: https://i.diawi.com/RoWeMt

Copy link

codecov bot commented Apr 29, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 73.60%. Comparing base (27b91c2) to head (c6334f3).

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #2766   +/-   ##
========================================
  Coverage    73.60%   73.60%           
========================================
  Files         1504     1504           
  Lines        36058    36058           
  Branches      6957     6957           
========================================
  Hits         26539    26539           
  Misses        5870     5870           
  Partials      3649     3649           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Member

@bmarty bmarty left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

@jmartinesp jmartinesp merged commit d9c4c18 into develop Apr 29, 2024
17 checks passed
@jmartinesp jmartinesp deleted the misc/jme/make-dependency-analysis-dependency-work-again branch April 29, 2024 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants